<%--
  Created by IntelliJ IDEA.
  User: 14533
  Date: 2022/2/1
  Time: 13:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!--写base标签，永远固定相对路径跳转的结果head.jsp-->
<%
    String basePath = request.getScheme()
    + "://"
    + request.getServerName()
    + ":"
    + request.getServerPort()
    + request.getContextPath()
    +"/";
    pageContext.setAttribute("basePath", basePath);
%>

<%--<base href="http://localhost:8080/book/">--%>
<base href="<%=basePath%>">
<link type="text/css" rel="stylesheet" href="static/css/style.css" />
<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
